package com.xdf.xzymanagementsystem.service;

import com.xdf.xzymanagementsystem.entity.JcSupplier;
import com.xdf.xzymanagementsystem.util.Example;

import java.util.List;
import java.util.Map;

/**
 * @Description : 业务层接口,该类为生成器自动生成.
 * @Author : 张柯
 * @Date : 2020-12-31 14:42:38
 */
public interface JcSupplierService {
    int insert(JcSupplier record) throws Exception;

    int insertSelective(JcSupplier record) throws Exception;

    int multiInsert(List<JcSupplier> list) throws Exception;

    int updateByPrimaryKey(JcSupplier record) throws Exception;

    int updateByPrimaryKeySelective(JcSupplier record) throws Exception;

    int update(JcSupplier record) throws Exception;

    int multiUpdate(List<JcSupplier> list) throws Exception;

    JcSupplier selectByPrimaryKey(Integer id) throws Exception;

    JcSupplier selectByCode(String code) throws Exception;

    int deleteByPrimaryKey(Integer id) throws Exception;

    List<JcSupplier> listQuery(JcSupplier record) throws Exception;

    List<JcSupplier> listQuery(Example example) throws Exception;

    Long count(Example example);

    List<Map<String, Object>> selectSendAddressById(Integer id);

    int moveClientSeq(int id, int direction);
}